package com.studerb.view.connectionPool;

import javax.swing.JTable;

import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;

public class ConnectionPoolTable extends JTable {
    private final Logger logger = Logger.getLogger(ConnectionPoolTable.class);
    @Autowired protected ConnectionPoolTableModel connectionPoolTableModel;

    public void init() {
        logger.debug("Init connectionPoolTable");
        this.setAutoCreateRowSorter(true);
        setModel(connectionPoolTableModel);
    }
}
